void DeleteDup(LinkList &Head){
    LNode *p = Head;
    while(p->next){
        LNode *q = p->next;
        if(q->data == p->data){
            p->next = q->next;
            delete q;
        }else p = p->next;
    }
}